import {adminUrl} from "@/utils/baseUrl.js"
import request from '@/utils/request'

// 创建学籍信息审核记录
export function createRollCheckLog(data) {
  return request({
    url: adminUrl + '/collegebase/roll-check-log/create',
    method: 'post',
    data: data
  })
}

// 更新学籍信息审核记录
export function updateRollCheckLog(data) {
  return request({
    url: adminUrl + '/collegebase/roll-check-log/update',
    method: 'put',
    data: data
  })
}

// 删除学籍信息审核记录
export function deleteRollCheckLog(id) {
  return request({
    url: adminUrl + '/collegebase/roll-check-log/delete?id=' + id,
    method: 'delete'
  })
}

// 获得学籍信息审核记录
export function getRollCheckLog(id) {
  return request({
    url: adminUrl + '/collegebase/roll-check-log/get?id=' + id,
    method: 'get'
  })
}

// 获得学籍信息审核记录分页
export function getRollCheckLogPage(query) {
  return request({
    url: adminUrl + '/collegebase/roll-check-log/page',
    method: 'get',
    params: query
  })
}

// 导出学籍信息审核记录 Excel
export function exportRollCheckLogExcel(query) {
  return request({
    url: adminUrl + '/collegebase/roll-check-log/export-excel',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
